//列表gridPanel
var bookgridP = new Ext.Panel({
		frame:true,
		style:'margin-top:10px',
		items:[grid]
});

//列表查询
var schForm=new Ext.FormPanel({
	height:40,
	labelWidth:65,
	frame:true,
	items:[{
				layout:'column',
				 items:[{
						columnWidth:.05,
						anchor:'95%',
						items:[]
				  		},{
							columnWidth:.06,
							anchor:'95%',
							items:[{xtype:'button',text:'查询',iconCls:'query',handler:function(){
								if(schForm.getForm().isValid()){
									var record = schForm.getForm().getValues(false);
									grid.store.baseParams = record;
									grid.store.load({params:{page:1}});
								 }
							}}]
						  },{
								columnWidth:.06,
								anchor:'95%',
								items:[{xtype:'button',text:'重置',iconCls:'query',handler:function(){
								schForm.getForm().reset();
						}}]
						  }

				]
			}
			
   ]
});